import { createApp } from 'vue'
import { createPinia } from 'pinia'
// vant 全局样式
import 'vant/lib/index.css'
import './styles/main.scss'

import App from './App.vue'
import router from './router'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import 'virtual:svg-icons-register'

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

app.use(pinia)
app.use(router)

app.mount('#app')
